package com.xiangmo.travel.Service;

import com.xiangmo.travel.Dto.ScoreDto;


public interface ScoreService {
    //查询评分状态
    Integer getStarNum(Long attractionsId, Long userId);
    //修改分数
    Integer setStarNum(Long attractionsId, Long userId, Integer starNum);
    //查询该评分存在？
    Integer isStarNum(Long attractionsId, Long userId);
    //新增评分
    Integer insertScore(ScoreDto scoreDto);
    //给出景点评分
    Long getScoreStar(Long attractionsId);
}
